package com.aspose.cells;

import java.util.ArrayList;
import java.util.Iterator;

class zbps implements IStreamProvider {
   private ArrayList a;

   public void initStream(StreamProviderOptions options) {
      options.c = this.a(options.getDefaultPath());
   }

   public void closeStream(StreamProviderOptions options) throws Exception {
      if (options.c != null) {
         options.c.a();
      }

   }

   public ArrayList a() {
      return this.a;
   }

   public void a(ArrayList var1) {
      this.a = var1;
   }

   private com.aspose.cells.b.a.d.zm a(String var1) {
      Iterator var2 = this.a.iterator();

      zank var3;
      do {
         if (!var2.hasNext()) {
            return null;
         }

         var3 = (zank)var2.next();
      } while(!var3.a.endsWith(var1));

      return var3.b;
   }
}
